#ifndef RECORD_H_INCLUDED
#define RECORD_H_INCLUDED

#include <stdlib.h>
#include <string.h>

class Record
{

    unsigned len;
    char* data;

public:
    Record& operator=(Record& rhs ) = delete ;
    Record (Record& t) = delete ;
    Record (Record&& t);
    explicit Record(unsigned len, const char* const ptr);
    const char* getData() const;
    unsigned getLen() const;
    ~Record();
};

#endif // RECORD_H_INCLUDED
